html, body {
    height: 100%;
    font-family: 'Questrial', sans-serif;
}

h1 {
    margin: -0.05em 0 0.3em;
    border-bottom: 3px solid RGBA(44, 67, 89, 0.8);
    display: inline-block;
}

p {
    font-family: 'Muli', sans-serif;
}

.container-fluid {
    /*padding-top: 2em; Enable if header is fixed*/
    padding-right: 0;
    padding-left: 0;
}

#top-section {

}

.main-container {
    /*max-width: 1140px;*/
    margin: 0 auto 1em;
    padding: 0 2em 2em;
    /*background: white;*/
    border-radius: 4px;
    /*box-shadow: 1px 1px 10px rgba(206, 206, 206, 0.33);*/

    text-align: center; /*Experiment*/
}

#page-info {
/*    background: white;
    box-shadow: -2px 2px 1px rgba(0,0,0,0.1);
    padding: 2em 1em;
    text-align: center;
    min-width: 20em;*/
    margin: 0.5em 0 1.5em 0;
}

#page-info p {
    font-size: 16px;
    margin:0;
}
.course-container {
    display: inline-block;
    position: relative;
}

.course-old-badge {
    z-index: 5;
    color: white;
    position: absolute;
    top: 12px;
    left: 8px;
}

.course-number {
    z-index: 5;
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 2px;
    right: 9px;
    text-align: center;
    border-radius: 2px 2px 2px 38px;

    /*Before*/
    /*box-shadow: -2px 2px 1px rgba(0,0,0,0.1);*/
    /*After*/
    box-shadow: -1px 1px 5px rgba(0,0,0,0.25);

    width: 3em;
    height: 5em;

    display: flex;
    justify-content: center;
    align-items: center;
}

.level {
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: -5px;
}

.center-number {
    color: gray;
    font-size: 24px;
}

.panel {
    z-index: 1;
    height: 19em;
    width: 19em;
    margin: 0.5em 1em 1em 0;
    overflow: auto;
    position: relative;
    border-style: none;
    /*border-top-left-radius: 1em;*/
    /*border-top-right-radius: 1em;*/
    box-shadow: 1px 0 5px rgba(189, 189, 189, 0.72);

}

.panel-heading {
    height: 4em;

    display: flex;
    flex-direction: column;
    justify-content: center;

}

.panel-body {
    max-height: 11.85em;
    overflow: auto;
    padding: 10px;
}

.panel-body h4 {
    margin-top: 5px;
}


.live-color { background-color: rgb(121, 192, 186) !important }

/*Didn't work for some reason with class only id, might work with !important*/
/*For old All Courses courses */
#level1-color-nature { background-color: rgb(110, 187, 222); }
#level1-color-culture { background-color: rgb(115, 148, 218); }
#level2-color { background-color: rgb(133, 214, 143); }
#level3-color { background-color: rgb(214, 188, 127); }
#level4-color { background-color: rgb(218, 116, 69); }
#level5-color { background-color: rgb(253, 154, 88) }

.panel-title {
    font-size: 20px;
    color: #FFF;
    text-shadow: -1px 1px 1px rgba(0,0,0,0.2);
    margin-top: 2px;
}

.button-progress {
    width: 100%;
    position: absolute;
    bottom: 0;
    /*text-align: center;*/
}

#begin-link {
    background: rgb(128, 124, 124);
    height: 100%;
    width: 75%;
    margin-right: -2px;
    text-align: left;
    padding-left: 4.3em;
}

#open-link {
    background: rgb(100, 105, 111);
    width: 25%;
    margin-left: -1px;
}



.button-progress .btn {
    position: relative;
    background: rgb(128, 124, 124);
    padding: 4px 12px;
    color: white;
    font-size: 18px;
    border-radius: 0;
    width: 100%;
}

.button-progress .btn:hover {
    color: white;
    background: linear-gradient(rgb(128,128,128), rgb(140,140,140)) !important;
}

.percentage {
    position: absolute;
    right: 46px;
    width: 16%;
    top: 6px;
    color: lightgray;
    font-size: 16px;
}

.progress {
    background: white;
    height: 6px;
    border-radius: 0;
    margin-bottom: 0;
}

.progress-bar {
    /*background: linear-gradient(90deg , rgb(252, 248, 248), rgb(190, 228, 248));*/
    background-color: rgb(161, 231, 150);
}

@media only screen and (max-device-width : 767px) {
    .main-container { padding: 0 1em 1em; }
}